/*
 * To change this license header, choose License Headers in Project Properties.
 * To change this template file, choose Tools | Templates
 * and open the template in the editor.
 */
package co.umb.MAS.Models.DAOs;
/**
 *
 * @author Brayan Toro
 */
public abstract class FactoryDao {

    public static final int POSTGRES_FACTORY_DAO = 1;    
    public static final int WS_DAO = 2;
    public static final int MY_SQLDAO = 3;

    public static FactoryDao getFactoryDao(int numeroFactory) {
        switch (numeroFactory) {
            case POSTGRES_FACTORY_DAO: {
                return new PostgresFactoryDao();
            }
            case WS_DAO: {
               break; // return WsFactoryDao               
            }
            case MY_SQLDAO:{
                break;
            }               

        }
        return null;
    }
    public abstract AccionesDao getPersonaDao();
    public abstract AccionesDao getHistoriaClinicaDao();

}
